﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineTestModel
{
    public class Parts
    {
        #region Model
        private int _id;
        private string _partname;
        private int _partnumber;
        private int? _courseid;
        private bool _isimportant;
        private int? _parentid;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PartName
        {
            set { _partname = value; }
            get { return _partname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PartNumber
        {
            set { _partnumber = value; }
            get { return _partnumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? CourseId
        {
            set { _courseid = value; }
            get { return _courseid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsImportant
        {
            set { _isimportant = value; }
            get { return _isimportant; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        #endregion Model
    }
}
